/*
 * @Description: 风控监管
 * @Author: lixianggang
 * @Date: 2022-11-23 16:25:49
 * @LastEditors: lixianggang
 * @LastEditTime: 2022-11-26 10:58:12
 */
import request from "@/utils/request";

// 查询分组列表
export function getRiskList(params) {
  return request({
    url: "/admin/notice/list",
    method: "get",
    params,
  });
}

// 查看通知配置详情
export function queryRiskConfig(type) {
  return request({
    url: "/admin/notice/config" + "/" + type,
    method: "get",
  });
}

// 新增/编辑通知配置
export function updateRiskConfig(data) {
  return request({
    url: "/admin/notice/config",
    method: "post",
    data,
  });
}

// 新增/编辑通知配置
export function dealRemind(data) {
  return request({
    url: "/admin/notice/deal",
    method: "put",
    data,
  });
}
